package edu.ustb.mis.dm.util;

import java.util.Comparator;
import java.util.Map.Entry;

public class EntryComparator implements Comparator<Entry<String, Integer>> {
	public int compare(final Entry<String, Integer> o1, final Entry<String, Integer> o2) {
		return Double.compare(o2.getValue(), o1.getValue());
	}
}
